package edu.buu.refectory.dao;

import java.util.List;
import java.util.Map;

import edu.buu.refectory.annotation.MyBatisRepository;
import edu.buu.refectory.domain.Food;

@MyBatisRepository
public interface FoodMapper extends BaseDao<Food>{
    int deleteByPrimaryKey(Integer fId);

    int insert(Food record);

    int insertSelective(Food record);

    Food selectByPrimaryKey(Integer fId);

    int updateByPrimaryKeySelective(Food record);

    int updateByPrimaryKey(Food record);

	/**
	 * @param map
	 * @return
	 */
	List<Food> getList(Map<String, Object> map);
}